package com.zr.dao;

/**
 * 
 * @author HC
 *
 * @param <T>
 */
public interface RemoveUsersDao<T> extends BaseDao<T>{
	
	/**
	 * 根据用户ID注销用户
	 * @param uid
	 */
	public void removeUsersByUid(int uid);
	
	/**
	 * 写入日志信息
	 * @param time
	 * @param uname
	 * @param uid
	 * @param info
	 */
	public void insertInfoIntoLog(String time, String cuname, int cuid, String info);
	
	
	/**
	 * 判断用户是否已被注销
	 * @param uid
	 * @return
	 */
	public int getRemovedOrNot(int uid);

	
}
